package com.gxa.entity.investment;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "Project对象", description = "项目管理——项目中心")
public class ProjectCenter {

    @ApiModelProperty("项目编号")
    @TableId("id")
    private Integer id;



    @ApiModelProperty("项目名称")
    @TableField("project_name")
    private String projectName;

    @ApiModelProperty("企业名称")
    @TableField("company_name")
    private String companyName;

    @ApiModelProperty("企业状态")
    @TableField("company_state")
    private Integer companyState;

    @ApiModelProperty("行业大类")
    @TableField("business")
    private Integer business;

    @ApiModelProperty("行业大类")
    @TableField("businessname")
    private String businessName;

    @ApiModelProperty("企业所属地区")
    @TableField("area")
    private String area;
    @ApiModelProperty("部门")
    @TableField("dept")
    private String dept;
    @ApiModelProperty("经理")
    @TableField("emp")
    private String emp;

    @ApiModelProperty("详细地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("企业联系人")
    @TableField("contact")
    private String contact;

    @ApiModelProperty("联系人电话")
    @TableField("contact_tel")
    private String contactTel;

    @ApiModelProperty("企业规模")
    @TableField("company_scale")
    private String companyScale;

    @ApiModelProperty("注册资本")
    @TableField("registered_capital")
    private Double registeredCapital;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("来源方式")
    @TableField("source_way")
    private String sourceWay;

    @ApiModelProperty("来源类型（0-外包")
    @TableField("source_type")
    private Integer sourceType;

    @ApiModelProperty("状态（0-意向登记，1-意向协定，2-合同签批，3-企业入驻）")
    @TableField("state")
    private Integer state;

    @ApiModelProperty("创建时间")
    @TableField("creation_time")
    private Date creationTime;

    @ApiModelProperty("行业类型小类编号")
    @TableField("business_child_coding")
    private String businessChildCoding;

    @ApiModelProperty("意向登记")
    @TableField(exist = false)
    private Date time1;

    @ApiModelProperty("意向协定")
    @TableField(exist = false)
    private Date time2;

    @ApiModelProperty("合同签批")
    @TableField(exist = false)
    private Date time3;

    @ApiModelProperty("企业入驻")
    @TableField(exist = false)
    private Date time4;

}
